// FZCollection_BPA.cpp: implementation of the CFZCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/FZCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CFZCollection_BPA::CFZCollection_BPA()
{

}

CFZCollection_BPA::~CFZCollection_BPA()
{

}

CFZ_BPA* CFZCollection_BPA::GetFirstFZ()
{
	return (CFZ_BPA*)CCardCollection_BPA::GetFirstCard();
}

CFZ_BPA* CFZCollection_BPA::Traverse(CFZ_BPA *pFZ, int nDirection)
{
	return (CFZ_BPA*)CCardCollection_BPA::Traverse(pFZ,nDirection);
}

CFZ_BPA* CFZCollection_BPA::GetFZ(char *strBusName, double dkV, char nID)
{
	CFZ_BPA tempFZ;
	strcpy(tempFZ.m_strName,strBusName);
	tempFZ.m_dkV = dkV;
	tempFZ.m_chID = nID;
	return (CFZ_BPA*)CCardCollection_BPA::GetCard(&tempFZ);
}